package com.twb.fileCenter.sftp;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/** 
 * @ClassName: FtpConfig 
 * @Description: ftp配置信息
 * @author DSY
 * @date 2017年4月12日 下午3:38:42 
 */ 
@Component
@ConfigurationProperties(prefix = "sftp")
public class SftpConfigProperties implements Serializable {
	
	private static final long serialVersionUID = 1L;

	private String host;
	
	private Integer port;
	
	private String username;
	
	private String password;
	/** 私钥 */    
    private String privateKey; 

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPrivateKey() {
		return privateKey;
	}

	public void setPrivateKey(String privateKey) {
		this.privateKey = privateKey;
	}
}
